[Distributed] Support forward backward overlap schdule for VPP#71995
Merged
ForFishes merged 3 commits intoPaddlePaddle:developfrom Apr 9, 2025
Merged
[Distributed] Support forward backward overlap schdule for VPP#71995ForFishes merged 3 commits intoPaddlePaddle:developfrom
ForFishes merged 3 commits intoPaddlePaddle:developfrom
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
1a11d21 to
4ab582e
Compare
c5f38fc to
c7ee192
Compare
Contributor
Author
|
/re-run approval |
zhangyuqin1998
added a commit
to zhangyuqin1998/Paddle
that referenced
this pull request
Apr 9, 2025
…ePaddle#71995) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
ForFishes
pushed a commit
that referenced
this pull request
Apr 9, 2025
… (#72150) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
YqGe585
pushed a commit
to YqGe585/Paddle
that referenced
this pull request
May 7, 2025
…ePaddle#71995) * [Distributed] Support forward_backward_overlap mode for VPP * add * fix name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
Distributed Strategy
PR Types
New features
Description
Support for the forward_backward_overlap mode in VPP is provided.
To enable forward-backward operations in VPP, follow these steps:
overlapped_forward_backwardmethod for the custom PipelineLayer. This will ensure that the framework uses your customoverlapped_forward_backwardinstead of the default pipeline forward and backward processes."pipeline_parallel_config": "forward_backward_overlap_scheduler".Additionally, the
overlapped_forward_backwardcan be implemented as follows. To achieve overlapping, consider breaking down theforward_chunkandbackward_chunkinto more granular parts.Pcard-76459